package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户登记对象 t_cust_info
 *
 * @author ruoyi
 * @date 2020-02-12
 */
public class CustInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 客户名称
     */
    @Excel(name = "客户名称")
    private String custName;

    /**
     * 电话号码
     */
    @Excel(name = "电话号码")
    private String custTel;

    /**
     * null
     */
    @Excel(name = "null")
    private Long createUserId;

    /**
     * null
     */
    @Excel(name = "null")
    private Long updateUserId;

    /**
     * 推荐人姓名
     */
    @Excel(name = "推荐人姓名")
    private String referUserName;

    /**
     * 推荐人联系方式
     */
    @Excel(name = "推荐人联系方式")
    private String referUserTel;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustTel(String custTel) {
        this.custTel = custTel;
    }

    public String getCustTel() {
        return custTel;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() {
        return updateUserId;
    }

    public void setReferUserName(String referUserName) {
        this.referUserName = referUserName;
    }

    public String getReferUserName() {
        return referUserName;
    }

    public void setReferUserTel(String referUserTel) {
        this.referUserTel = referUserTel;
    }

    public String getReferUserTel() {
        return referUserTel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("custName", getCustName())
                .append("custTel", getCustTel())
                .append("createTime", getCreateTime())
                .append("createUserId", getCreateUserId())
                .append("updateTime", getUpdateTime())
                .append("updateUserId", getUpdateUserId())
                .append("referUserName", getReferUserName())
                .append("referUserTel", getReferUserTel())
                .toString();
    }
}
